package com.bupt.godxian.charging.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "cfg")
public class ApplicationProperties {
    private int N=6;
    //快充功率
    private int F_power=30;
    //慢充功率
    private int T_power=7;

    public int getN() {
        return N;
    }

    public void setN(int N) {
        this.N = N;
    }

    public int getF_power() {
        return F_power;
    }

    public void setF_power(int F_power) {
        this.F_power = F_power;
    }

    public int getT_power() {
        return T_power;
    }

    public void setT_power(int T_power) {
        this.T_power = T_power;
    }
}
